package org.lvgo.factory.method;

/**
 * Hello world!
 *
 * @author lvgo
 */
public class App {
    public static void main(String[] args) {

        ElfBlacksmith elfBlacksmith = new ElfBlacksmith();
        Weapon elfWeapon = elfBlacksmith.manufactureWeapon(WeaponType.LONG);
        elfWeapon.show();


        System.out.println();

        OrcBlacksmith orcBlacksmith = new OrcBlacksmith();
        Weapon orcWeapon = orcBlacksmith.manufactureWeapon(WeaponType.SHORT);
        orcWeapon.show();
    }
}
